package com.ywu.application.standard.fileSys.data;

import com.ywu.application.standard.fileSys.dto.YwuFileWhiteListDto;
import com.ywu.application.standard.fileSys.entity.YwuFileWhiteListEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName YwuFileWhiteListRepository
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/8/17 8:19
 * @Version 1.0
 **/
@Mapper
public interface YwuFileWhiteListRepository {

    List<YwuFileWhiteListEntity> queryPageList(@Param("model") YwuFileWhiteListDto dto);

    int queryPageCount(@Param("model") YwuFileWhiteListDto dto);

    void addSuffixInfo(@Param("model") YwuFileWhiteListEntity ywuAppEntity);

    void deleteSuffixInfoById(@Param("model") YwuFileWhiteListEntity ywuAppEntity);

    YwuFileWhiteListEntity getEntity(@Param("model") YwuFileWhiteListEntity dataDictEntity);

    void updateSuffixInfo(@Param("model") YwuFileWhiteListEntity ywuAppEntity);

    List<YwuFileWhiteListEntity> queryAllWhiteList(@Param("model") YwuFileWhiteListDto dto);

}
